{% extends 'base.html' %}

{% block content %}
<div class="container mt-5">
    <h2>学生面板</h2>
    <div class="row">
        <div class="col-md-8">
            <h4>选择试卷</h4>
            <ul class="list-group">
                {% for paper in papers %}
                <li class="list-group-item">
                    <a href="{{ url_for('answer_paper', paper_id=paper[0]) }}">{{ paper[1] }}</a>
                </li>
                {% endfor %}
            </ul>
        </div>
    </div>
</div>
{% endblock %}
